<template>
  <div class="wrapper wrapper-content animated fadeInRight v-cloak" v-cloak>
    <div class="row">
      <div class="ibox float-e-margins">
        <div class="form m-tibox-content col-md-12">
          <div class="clearfix "></div>
          <div class="col-md-6">
            <div class="form-group clearfix">
              <label class="control-label">行政区域：</label>
              <div class="col-md-12 form-control">
                {{item.areaName}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">月报月份：</label>
              <div class="col-md-12 form-control">
                {{item.dateReportBegin}}至{{item.dateReportEnd}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">填报日期：</label>
              <div class="col-md-12 form-control">
                {{item.reportingDate | date('yyyy-MM-dd')}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">填报人：</label>
              <div class="col-md-12 form-control">
                {{item.reportingRiveruserName}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">填报机构：</label>
              <div class="col-md-12 form-control">
                {{item.reportingOrgName}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">县级开展专项行动次数：</label>
              <div class="col-md-12 form-control">
                {{item.specialCountyNum}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">乡级开展专项行动次数：</label>
              <div class="col-md-12 form-control">
                {{item.specialTownNum}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">问责-通报（人次）：</label>
              <div class="col-md-12 form-control">
                {{item.accountabilityBulletinNum}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">问责-诫勉谈话（人次）：</label>
              <div class="col-md-12 form-control">
                {{item.accountabilityTalkNum}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">行政处分-警告（人次）：</label>
              <div class="col-md-12 form-control">
                {{item.executiveWarningNum}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">行政处分-降级（人次）：</label>
              <div class="col-md-12 form-control">
                {{item.executiveDemoteNum}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">行政处分-开除（人次）：</label>
              <div class="col-md-12 form-control">
                {{item.executiveExpelNum}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">行政处分-记过（人次）：</label>
              <div class="col-md-12 form-control">
                {{item.executiveDemeritNum}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">行政处分-撤职（人次）：</label>
              <div class="col-md-12 form-control">
                {{item.executiveDismissedNum}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">党纪处分-警告（人次）：</label>
              <div class="col-md-12 form-control">
                {{item.partyWarningNum}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">党纪处分-撤除党内职务（人次）：</label>
              <div class="col-md-12 form-control">
                {{item.partyDismantleInnerjobNum}}
              </div>
            </div>
          </div>
          <div class="col-md-6">

            <div class="form-group clearfix">
              <label class="control-label">党纪处分-开除党籍（人次）：</label>
              <div class="col-md-12 form-control">
                {{item.partyExpelledMembershipNum}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">党纪处分-其他形式（人次）：</label>
              <div class="col-md-12 form-control">
                {{item.partyOtherNum}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">党纪处分-严重警告（人次）：</label>
              <div class="col-md-12 form-control">
                {{item.partySeriousWarningNum}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">党纪处分-留党察看（人次）：</label>
              <div class="col-md-12 form-control">
                {{item.partyCheckNum}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">巡河情况-巡河（湖）人次：</label>
              <div class="col-md-12 form-control">
                {{item.patrolRiverNum}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">巡河情况-发现问题：</label>
              <div class="col-md-12 form-control">
                {{item.patrolDiscoverProblemsNum}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">巡河情况-解决问题：</label>
              <div class="col-md-12 form-control">
                {{item.patrolSolveProblemsNum}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">培训情况-培训人次：</label>
              <div class="col-md-12 form-control">
                {{item.patrolTraineesNum}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">培训情况-培训班次：</label>
              <div class="col-md-12 form-control">
                {{item.patrolTrainingshiftNum}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">培训情况-河长（湖长）培训（人次）：</label>
              <div class="col-md-12 form-control">
                {{item.patrolRiverSupervisorNum}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">培训情况-河长办工作人员培训（人次）：</label>
              <div class="col-md-12 form-control">
                {{item.patrolRiverStaffNum}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">创建时间：</label>
              <div class="col-md-12 form-control">
                {{item.dateCreated | date('yyyy-MM-dd HH:mm:ss')}}
              </div>
            </div>

            <div class="form-group clearfix">
              <label class="control-label">更新时间：</label>
              <div class="col-md-12 form-control">
                {{item.dateUpdated | date('yyyy-MM-dd HH:mm:ss')}}
              </div>
            </div>

          </div>
          <div class="clearfix "></div>
          <div class="col-12 text-center" style="height: 50px;">
            <div>
              <a @click="lbox.closeMyBoxLayer()" class="btn btn-danger" href="javascript:">返回</a>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
<script type="text/javascript">
  import '@/assets/css/style.css'

  import axios from 'axios'
  import {site} from '@/assets/js/boss'

  export default {
    data() {
      return {
        item: {}
      }
    },
    mounted() {
      let that = window.$vueApp = this;
      document.getElementsByTagName('body')[0].className = 'fixed-sidebar full-height-layout';
      that.staff.init(function () {
        axios.get(site.reportBimonthly.info + sessionStorage.getItem(site.reportBimonthly.info), {}).then(function (response) {
          const result = response.data;
          if (result.code === 0) {
            that.item = result.data;
          } else {
            alert(result.message);
          }
        });
      });
    },
    methods: {}
  }
</script>
